<!DOCTYPE html>
<html>

<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no"/>
    <title></title>
    <link rel="stylesheet" type="text/css" href="/tp/Public/css/bootstrap.min.css"/>
    <link rel="stylesheet" type="text/css" href="/tp/Public/css/font-awesome.min.css">
    <link rel="stylesheet" type="text/css" href="/tp/Public/css/style.css"/>
</head>

<body>
<div id="container">
    <!---->

    <include file="Public/tpl/header.html" />

    <!---->

    <div id="main" class="container">
        <div class="row">
            <div class="col-md-8">
                <div class="panel panel-default">
                    <div class="panel-heading">
                        <h3 class="panel-title"><b>BBS-社区</b></h3>
                    </div>
                    <div class="panel-body">
                        <h3 class="panel-title"><span>分类总数</span><span class="badge text-right">{$sorts_count}</span></h3>
                    </div>
                </div>
                <div class="panel panel-default">
                    <div class="panel-heading">
                        <h3 class="panel-title"><b>所有分类</b></h3>
                    </div>
                    <div class="panel-body">
                        <ul class="media list-group">
                            <foreach name="sorts" item="sort" key="key">
                                <li class="list-group-item">
                                    <div class="media-body">
                                        <h3 class="media-heading topic-list-heading">
                                            <span><i class="icon-pushpin"></i></span>
                                            <span><a href="{:U('Sort/detail',array('id'=>$sort['id']))}">{$sort['name']}</a></span>
                                        </h3>
                                        <p class="text-muted">
                                            <span><i class="icon-info-sign"></i></span>
                                            <span>{$sort['introduction']}</span>
                                        </p>
                                    </div>
                                </li>
                            </foreach>
                        </ul>
                    </div>
                </div>


            </div>

            <div class="col-md-4 hidden-xs">



            </div>
        </div>

    </div>

    <!---->
</div>
<!---->
<footer id="footer">
    <div class="container">
        <p>Powered by BBS 2016-2017 Allright rights reserved</p>
    </div>
</footer>
<!---->
<script src="/tp/Public/js/jquery-1.11.0.js" type="text/javascript" charset="utf-8"></script>
<script src="/tp/Public/js/bootstrap.min.js" type="text/javascript" charset="utf-8"></script>
</body>

</html>